import request from '../utils/request'
import axios from "axios"
export const login = (data) => {
    return request({
        url : "/sys/login",
        method : "POST",
        data
    })
}
export const getUserInfo=()=>{
    return request({
        url:"/sys/profile"
    })
}